package com.starnet.studentmanagement.service;

import com.starnet.studentmanagement.entity.Students;
import com.baomidou.mybatisplus.extension.service.IService;
import com.starnet.studentmanagement.vo.PageResult;
import com.starnet.studentmanagement.vo.Result;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author sangeng
 * @since 2022-03-26
 */
public interface StudentsService{

    PageResult searchByName(String sname, Integer page,Integer pageSize);

    Result addNewStudent(Students student);

    Result updateStudent(Students student);

    Result deleteById(int sid);
}
